<template>
  <web-view src="{{url}}"></web-view>
</template>

<script>
  export default {
    data() {
      return {
        url: ''
      }
    },
    onLoad() {
      let query = this.$mp.query

      this.setData({
        url: query.url
      })

      wx.setNavigationBarTitle({
        title: query.title
      })
    },
    methods: {},
  }
</script>

<style lang="less">
</style>
